package 抽象案例;

public class goldCard extends allCard{
    @Override
    public void pay(double outMoney) {
        super.setMoney(super.getMoney()-outMoney*0.8);
    }
}
